package org.luckyjourney.entity.user.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDTO implements Serializable {

    private String code;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String phone;

    private Integer moduleId;

    private String openid;

    private String opencode;

}
